package com.fastjrun.eladmin.itrms.mapstruct;

import com.fastjrun.eladmin.itrms.dto.ProjectEnvironmentDTO;
import com.fastjrun.eladmin.itrms.entity.RmsProjectEnvironment;
import com.fastjrun.eladmin.itrms.vo.ProjectEnvironmentVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import java.util.List;

public class RmsProjectEnvironmentMapperDecorator implements RmsProjectEnvironmentMapper {
    @Autowired
    @Qualifier("delegate")
    private RmsProjectEnvironmentMapper delegate;
    @Override
    public ProjectEnvironmentVO toVO(RmsProjectEnvironment entity) {
        return delegate.toVO(entity);
    }

    @Override
    public List<ProjectEnvironmentVO> toVO(List<RmsProjectEnvironment> entityList) {
        return delegate.toVO(entityList);
    }

    @Override
    public RmsProjectEnvironment toEntity(ProjectEnvironmentDTO dto) {
        return delegate.toEntity(dto);
    }
}
